package com.apesource.project02.service;

import com.apesource.project02.pojo.MarathonEvent;
import com.apesource.project02.util.ResponseEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @auther:暮雪
 * @date:2025/9/18
 */

public interface IMarathonEventService extends IService<MarathonEvent> {
    ResponseEntity<MarathonEvent> getMarathonEventById(int id);

    ResponseEntity<List<MarathonEvent>> getMarathonEvents();

    ResponseEntity<List<MarathonEvent>> getMarathonEventsByDate();
}
